/* 硬件驱动初始化 ------------------------------------------------------------------*/

#ifndef __LORA_H__
#define __LORA_H__

#ifdef __cplusplus
extern "C"
{
#endif

/* 头文件 ---------------------------------------------------------*/
#include "main.h"







/* 函数声明 ---------------------------------------------------------*/

void lora_init(void);
void lora_send_data(void);
//void lora_get_data(uint8_t* data, uint16_t len);

void lora_get_data(uint8_t** data, uint16_t* len);
void lora_set_data(uint8_t* data, uint16_t len);

void lora_send_orange(void);

uint8_t lora_crc(uint8_t* data);

//void lora_get_data(uint8_t* data, uint16_t len);

//// 获取香橙派数据
//void lora_get_orange(uint8_t* data, uint16_t len);








/* 结束 ---------------------------------------------------------*/
#ifdef __cplusplus
}
#endif
#endif 


